<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>i2c: C:/Users/Jon/Downloads/OOP/db-control/dbStudent.php Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">i2c
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">C:/Users/Jon/Downloads/OOP/db-control/dbStudent.php</div>  </div>
</div>
<div class="contents">
<a href="db_student_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?php
<a name="l00002"></a>00002 
<a name="l00022"></a><a class="code" href="classdb_student.html">00022</a> <span class="keyword">class </span><a class="code" href="classdb_student.html">dbStudent</a> {
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 
<a name="l00031"></a><a class="code" href="classdb_student.html#aea6c4d653e217f31256ded5783ed58f4">00031</a>     <span class="keyword">static</span> <span class="keyword">function</span> <a class="code" href="classdb_student.html#aea6c4d653e217f31256ded5783ed58f4">createTable</a>() {
<a name="l00032"></a>00032         <span class="comment">//Create table stuent</span>
<a name="l00033"></a>00033         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = <span class="stringliteral">&quot;</span>
<a name="l00034"></a>00034 <span class="stringliteral">        create table student(</span>
<a name="l00035"></a>00035 <span class="stringliteral">            studentID               int             NOT NULL AUTO_INCREMENT,</span>
<a name="l00036"></a>00036 <span class="stringliteral">            fname                   varchar(25)     NOT NULL,</span>
<a name="l00037"></a>00037 <span class="stringliteral">            lname                   varchar(25)     NOT NULL,</span>
<a name="l00038"></a>00038 <span class="stringliteral">            username                varchar(10)     NOT NULL,</span>
<a name="l00039"></a>00039 <span class="stringliteral">            currentGPA              decimal(4,2)    NOT NULL,</span>
<a name="l00040"></a>00040 <span class="stringliteral">            major                   text            NOT NULL,</span>
<a name="l00041"></a>00041 <span class="stringliteral">            yearStatus              text                NULL,</span>
<a name="l00042"></a>00042 <span class="stringliteral">            graduationYear          varchar(10)         NULL,</span>
<a name="l00043"></a>00043 <span class="stringliteral">            gotHired                varchar(10)         NULL,</span>
<a name="l00044"></a>00044 <span class="stringliteral">            constraint PK_Student PRIMARY KEY (studentID)</span>
<a name="l00045"></a>00045 <span class="stringliteral">);</span>
<a name="l00046"></a>00046 <span class="stringliteral">    &quot;</span>;
<a name="l00047"></a>00047         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00048"></a>00048         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00049"></a>00049         mysql_close();
<a name="l00050"></a>00050         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00051"></a>00051             echo mysql_error();
<a name="l00052"></a>00052             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00053"></a>00053         }
<a name="l00054"></a>00054 
<a name="l00055"></a>00055         <span class="comment">//Previous query was successful.</span>
<a name="l00056"></a>00056         <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00057"></a>00057     }
<a name="l00058"></a>00058 
<a name="l00065"></a><a class="code" href="classdb_student.html#aebb23af7c9b40659d7bffc83a9558cf6">00065</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#aebb23af7c9b40659d7bffc83a9558cf6">getAllStudents</a>() {
<a name="l00066"></a>00066 
<a name="l00067"></a>00067         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = <span class="stringliteral">&quot;SELECT * FROM student&quot;</span>;
<a name="l00068"></a>00068         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00069"></a>00069         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00070"></a>00070         mysql_close();
<a name="l00071"></a>00071         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00072"></a>00072             echo mysql_error();
<a name="l00073"></a>00073             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00074"></a>00074         }
<a name="l00075"></a>00075 
<a name="l00076"></a>00076         <span class="comment">//Query was successful.</span>
<a name="l00077"></a>00077         <span class="keywordflow">return</span> <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>;
<a name="l00078"></a>00078     }
<a name="l00079"></a>00079 
<a name="l00087"></a><a class="code" href="classdb_student.html#a27df38dffd072b572a3463622a836b84">00087</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#a27df38dffd072b572a3463622a836b84">checkStudentID</a>($s) {
<a name="l00088"></a>00088         <span class="keywordflow">if</span> (!($s instanceof <a class="code" href="class_student.html">Student</a>)) {
<a name="l00089"></a>00089             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00090"></a>00090         }
<a name="l00091"></a>00091         $studentID = $s-&gt;getStudentID();
<a name="l00092"></a>00092         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00093"></a>00093         <span class="keywordflow">if</span> (mysql_num_rows(mysql_query(<span class="stringliteral">&quot;SELECT * FROM student WHERE</span>
<a name="l00094"></a>00094 <span class="stringliteral">                studentID=$studentID&quot;</span>)) == <span class="keyword">false</span>) {
<a name="l00095"></a>00095             mysql_close();
<a name="l00096"></a>00096             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00097"></a>00097         } <span class="keywordflow">else</span> {
<a name="l00098"></a>00098             <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00099"></a>00099         }
<a name="l00100"></a>00100     }
<a name="l00101"></a>00101 
<a name="l00109"></a><a class="code" href="classdb_student.html#a35ce5c3464cada5f9bcea6c3f35ea593">00109</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#a35ce5c3464cada5f9bcea6c3f35ea593">updateStudent</a>($s) {
<a name="l00110"></a>00110         <span class="keywordflow">if</span> (!$s instanceof student) {
<a name="l00111"></a>00111             echo (<span class="stringliteral">&quot;Invalid argument updateStudent($s) function&lt;br /&gt;&quot;</span>);
<a name="l00112"></a>00112             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00113"></a>00113         }
<a name="l00114"></a>00114         $studentID = $s-&gt;getStudentID();
<a name="l00115"></a>00115         <a class="code" href="index_8php.html#aeba2ab722cedda53dbb7ec1a59f45550">$error</a> = <span class="keyword">true</span>;
<a name="l00116"></a>00116 
<a name="l00117"></a>00117         <span class="keywordflow">if</span> ($s-&gt;getFName() != <span class="stringliteral">&#39;&#39;</span>) {
<a name="l00118"></a>00118             <a class="code" href="index_8php.html#aeba2ab722cedda53dbb7ec1a59f45550">$error</a> *= mysql_query(<span class="stringliteral">&quot;UPDATE student SET fname=&#39;&quot;</span> . $s-&gt;getFName()
<a name="l00119"></a>00119                             . <span class="stringliteral">&quot;&#39; WHERE studentID=$studentID&quot;</span>);
<a name="l00120"></a>00120         }
<a name="l00121"></a>00121         <span class="keywordflow">if</span> ($s-&gt;getLName() != <span class="stringliteral">&#39;&#39;</span>) {
<a name="l00122"></a>00122             <a class="code" href="index_8php.html#aeba2ab722cedda53dbb7ec1a59f45550">$error</a> *= mysql_query(<span class="stringliteral">&quot;UPDATE student SET lname=&#39;&quot;</span> . $s-&gt;getLName()
<a name="l00123"></a>00123                             . <span class="stringliteral">&quot;&#39; WHERE studentID=$studentID&quot;</span>);
<a name="l00124"></a>00124         }
<a name="l00125"></a>00125         <span class="keywordflow">if</span> ($s-&gt;getUsername() != <span class="stringliteral">&#39;&#39;</span>) {
<a name="l00126"></a>00126             <a class="code" href="index_8php.html#aeba2ab722cedda53dbb7ec1a59f45550">$error</a> *= mysql_query(<span class="stringliteral">&quot;UPDATE student SET username=&#39;&quot;</span> .
<a name="l00127"></a>00127                             $s-&gt;getUsername() . <span class="stringliteral">&quot;&#39; WHERE studentID=$studentID&quot;</span>);
<a name="l00128"></a>00128         }
<a name="l00129"></a>00129         <span class="keywordflow">if</span> ($s-&gt;getCurrentGPA() != <span class="stringliteral">&#39;&#39;</span>) {
<a name="l00130"></a>00130             <a class="code" href="index_8php.html#aeba2ab722cedda53dbb7ec1a59f45550">$error</a> *= mysql_query(<span class="stringliteral">&quot;UPDATE student SET currentGPA=&#39;&quot;</span> .
<a name="l00131"></a>00131                             $s-&gt;getCurrentGPA() . <span class="stringliteral">&quot;&#39; WHERE studentID=</span>
<a name="l00132"></a>00132 <span class="stringliteral">                    $studentID&quot;</span>);
<a name="l00133"></a>00133         }
<a name="l00134"></a>00134         <span class="keywordflow">if</span> ($s-&gt;getMajor() != <span class="stringliteral">&#39;&#39;</span>) {
<a name="l00135"></a>00135             <a class="code" href="index_8php.html#aeba2ab722cedda53dbb7ec1a59f45550">$error</a> *= mysql_query(<span class="stringliteral">&quot;UPDATE student SET major=&#39;&quot;</span> . $s-&gt;getMajor()
<a name="l00136"></a>00136                             . <span class="stringliteral">&quot;&#39; WHERE studentID=$studentID&quot;</span>);
<a name="l00137"></a>00137         }
<a name="l00138"></a>00138         <span class="keywordflow">if</span> ($s-&gt;getYearStatus() != <span class="stringliteral">&#39;&#39;</span>) {
<a name="l00139"></a>00139             <a class="code" href="index_8php.html#aeba2ab722cedda53dbb7ec1a59f45550">$error</a> *= mysql_query(<span class="stringliteral">&quot;UPDATE student SET yearStatus=&#39;&quot;</span> .
<a name="l00140"></a>00140                             $s-&gt;getYearStatus() . <span class="stringliteral">&quot;&#39; WHERE studentID=</span>
<a name="l00141"></a>00141 <span class="stringliteral">                            $studentID&quot;</span>);
<a name="l00142"></a>00142         }
<a name="l00143"></a>00143         <span class="keywordflow">if</span> ($s-&gt;getGraduationYear() != <span class="stringliteral">&#39;&#39;</span>) {
<a name="l00144"></a>00144             <a class="code" href="index_8php.html#aeba2ab722cedda53dbb7ec1a59f45550">$error</a> *= mysql_query(<span class="stringliteral">&quot;UPDATE student SET graduationYear=&#39;&quot;</span> .
<a name="l00145"></a>00145                             $s-&gt;getGraduationYear() . <span class="stringliteral">&quot;&#39; WHERE studentID=</span>
<a name="l00146"></a>00146 <span class="stringliteral">                    $studentID&quot;</span>);
<a name="l00147"></a>00147         }
<a name="l00148"></a>00148         <span class="keywordflow">if</span> ($s-&gt;getGotHired() != <span class="stringliteral">&#39;&#39;</span>) {
<a name="l00149"></a>00149             <a class="code" href="index_8php.html#aeba2ab722cedda53dbb7ec1a59f45550">$error</a> *= mysql_query(<span class="stringliteral">&quot;UPDATE student SET gotHired=&#39;&quot;</span> .
<a name="l00150"></a>00150                             $s-&gt;getGotHired() . <span class="stringliteral">&quot;&#39; WHERE studentID=$studentID&quot;</span>);
<a name="l00151"></a>00151         }
<a name="l00152"></a>00152         <span class="keywordflow">return</span> <a class="code" href="index_8php.html#aeba2ab722cedda53dbb7ec1a59f45550">$error</a>;
<a name="l00153"></a>00153     }
<a name="l00154"></a>00154 
<a name="l00163"></a><a class="code" href="classdb_student.html#a0ea57b8451957650f9ce3e5039c0d09c">00163</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#a0ea57b8451957650f9ce3e5039c0d09c">deleteStudent</a>($s) {
<a name="l00164"></a>00164         <span class="keywordflow">if</span> (!$s instanceof student) {
<a name="l00165"></a>00165             echo (<span class="stringliteral">&quot;Invalid argument deleteStudent($s) function&lt;br /&gt;&quot;</span>);
<a name="l00166"></a>00166             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00167"></a>00167         }
<a name="l00168"></a>00168 
<a name="l00169"></a>00169         <span class="comment">//Compose the DELETE FROM query string.</span>
<a name="l00170"></a>00170         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = sprintf(<span class="stringliteral">&quot;DELETE FROM student WHERE studentID = %d&quot;</span>,
<a name="l00171"></a>00171                         $s-&gt;getStudentID()
<a name="l00172"></a>00172         );
<a name="l00173"></a>00173         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00174"></a>00174         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00175"></a>00175         mysql_close();
<a name="l00176"></a>00176         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00177"></a>00177             echo mysql_error();
<a name="l00178"></a>00178             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00179"></a>00179         }
<a name="l00180"></a>00180 
<a name="l00181"></a>00181         <span class="comment">//Query was successful.</span>
<a name="l00182"></a>00182         <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00183"></a>00183     }
<a name="l00184"></a>00184 
<a name="l00185"></a><a class="code" href="classdb_student.html#a556b7638b15222861ca4261f44b8b97d">00185</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#a556b7638b15222861ca4261f44b8b97d">getStudentID</a>($s) {
<a name="l00186"></a>00186         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<span class="stringliteral">&quot;SELECT stduentID FROM student WHERE</span>
<a name="l00187"></a>00187 <span class="stringliteral">            studentID=&#39;$s&#39;&quot;</span>);
<a name="l00188"></a>00188         $row = mysql_fetch_row(<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>);
<a name="l00189"></a>00189         <span class="keywordflow">return</span> $row[<span class="charliteral">&#39;0&#39;</span>];
<a name="l00190"></a>00190     }
<a name="l00191"></a>00191 
<a name="l00192"></a><a class="code" href="classdb_student.html#aeeee0a05e6c9d1db437ad89a2456f66c">00192</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#aeeee0a05e6c9d1db437ad89a2456f66c">getFname</a>($s) {
<a name="l00193"></a>00193         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = <span class="stringliteral">&quot;SELECT fname FROM student</span>
<a name="l00194"></a>00194 <span class="stringliteral">        WHERE studentID=&#39;$s&#39;&quot;</span>;
<a name="l00195"></a>00195         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00196"></a>00196         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00197"></a>00197         mysql_close();
<a name="l00198"></a>00198         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00199"></a>00199             echo mysql_error();
<a name="l00200"></a>00200             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00201"></a>00201         }
<a name="l00202"></a>00202         <span class="comment">//Query was successful.</span>
<a name="l00203"></a>00203         <span class="keywordflow">return</span> <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>;
<a name="l00204"></a>00204     }
<a name="l00205"></a>00205 
<a name="l00206"></a><a class="code" href="classdb_student.html#a71fc0ac7012b15521b719e8b99127995">00206</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#a71fc0ac7012b15521b719e8b99127995">getLname</a>($s) {
<a name="l00207"></a>00207         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = <span class="stringliteral">&quot;SELECT lname FROM student</span>
<a name="l00208"></a>00208 <span class="stringliteral">        WHERE studentID=&#39;$s&#39;&quot;</span>;
<a name="l00209"></a>00209         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00210"></a>00210         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00211"></a>00211         mysql_close();
<a name="l00212"></a>00212         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00213"></a>00213             echo mysql_error();
<a name="l00214"></a>00214             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00215"></a>00215         }
<a name="l00216"></a>00216         <span class="comment">//Query was successful.</span>
<a name="l00217"></a>00217         <span class="keywordflow">return</span> <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>;
<a name="l00218"></a>00218     }
<a name="l00219"></a>00219 
<a name="l00220"></a><a class="code" href="classdb_student.html#a0810baf3e6dac1a968f8c2190b31200f">00220</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#a0810baf3e6dac1a968f8c2190b31200f">getUsername</a>($s) {
<a name="l00221"></a>00221         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = <span class="stringliteral">&quot;SELECT username FROM student</span>
<a name="l00222"></a>00222 <span class="stringliteral">        WHERE studentID=&#39;$s&#39;&quot;</span>;
<a name="l00223"></a>00223         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00224"></a>00224         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00225"></a>00225         mysql_close();
<a name="l00226"></a>00226         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00227"></a>00227             echo mysql_error();
<a name="l00228"></a>00228             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00229"></a>00229         }
<a name="l00230"></a>00230         <span class="comment">//Query was successful.</span>
<a name="l00231"></a>00231         <span class="keywordflow">return</span> <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>;
<a name="l00232"></a>00232     }
<a name="l00233"></a>00233 
<a name="l00234"></a><a class="code" href="classdb_student.html#a7314d026fca21b7dc0510f7260d82245">00234</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#a7314d026fca21b7dc0510f7260d82245">getCurrentGPA</a>($s) {
<a name="l00235"></a>00235         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = <span class="stringliteral">&quot;SELECT currentGPA FROM student</span>
<a name="l00236"></a>00236 <span class="stringliteral">        WHERE studentID=&#39;$s&#39;&quot;</span>;
<a name="l00237"></a>00237         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00238"></a>00238         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00239"></a>00239         mysql_close();
<a name="l00240"></a>00240         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00241"></a>00241             echo mysql_error();
<a name="l00242"></a>00242             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00243"></a>00243         }
<a name="l00244"></a>00244         <span class="comment">//Query was successful.</span>
<a name="l00245"></a>00245         <span class="keywordflow">return</span> <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>;
<a name="l00246"></a>00246     }
<a name="l00247"></a>00247 
<a name="l00248"></a><a class="code" href="classdb_student.html#ad14ca94dba806569eaa7020f27095b2a">00248</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#ad14ca94dba806569eaa7020f27095b2a">getMajor</a>($s) {
<a name="l00249"></a>00249         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = <span class="stringliteral">&quot;SELECT major FROM student</span>
<a name="l00250"></a>00250 <span class="stringliteral">        WHERE studentID=&#39;$s&#39;&quot;</span>;
<a name="l00251"></a>00251         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00252"></a>00252         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00253"></a>00253         mysql_close();
<a name="l00254"></a>00254         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00255"></a>00255             echo mysql_error();
<a name="l00256"></a>00256             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00257"></a>00257         }
<a name="l00258"></a>00258         <span class="comment">//Query was successful.</span>
<a name="l00259"></a>00259         <span class="keywordflow">return</span> <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>;
<a name="l00260"></a>00260     }
<a name="l00261"></a>00261 
<a name="l00262"></a><a class="code" href="classdb_student.html#a1aeb23bfa8b032ec0b36703c3c4591c8">00262</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#a1aeb23bfa8b032ec0b36703c3c4591c8">getYearStatus</a>($s) {
<a name="l00263"></a>00263         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = <span class="stringliteral">&quot;SELECT yearStatus FROM student</span>
<a name="l00264"></a>00264 <span class="stringliteral">        WHERE studentID=&#39;$s&#39;&quot;</span>;
<a name="l00265"></a>00265         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00266"></a>00266         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00267"></a>00267         mysql_close();
<a name="l00268"></a>00268         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00269"></a>00269             echo mysql_error();
<a name="l00270"></a>00270             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00271"></a>00271         }
<a name="l00272"></a>00272         <span class="comment">//Query was successful.</span>
<a name="l00273"></a>00273         <span class="keywordflow">return</span> <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>;
<a name="l00274"></a>00274     }
<a name="l00275"></a>00275 
<a name="l00276"></a><a class="code" href="classdb_student.html#a4b783b6213aadf63d0752d6a706c3719">00276</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#a4b783b6213aadf63d0752d6a706c3719">getGraduationYear</a>($s) {
<a name="l00277"></a>00277         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = <span class="stringliteral">&quot;SELECT graduationYear FROM student</span>
<a name="l00278"></a>00278 <span class="stringliteral">        WHERE studentID=&#39;$s&#39;&quot;</span>;
<a name="l00279"></a>00279         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00280"></a>00280         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00281"></a>00281         mysql_close();
<a name="l00282"></a>00282         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00283"></a>00283             echo mysql_error();
<a name="l00284"></a>00284             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00285"></a>00285         }
<a name="l00286"></a>00286         <span class="comment">//Query was successful.</span>
<a name="l00287"></a>00287         <span class="keywordflow">return</span> <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>;
<a name="l00288"></a>00288     }
<a name="l00289"></a>00289 
<a name="l00290"></a><a class="code" href="classdb_student.html#a783b5f50f154a92d03147e9049b24cc7">00290</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#a783b5f50f154a92d03147e9049b24cc7">getGotHired</a>($s) {
<a name="l00291"></a>00291         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = <span class="stringliteral">&quot;SELECT gotHired FROM student</span>
<a name="l00292"></a>00292 <span class="stringliteral">        WHERE studentID=&#39;$s&#39;&quot;</span>;
<a name="l00293"></a>00293         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00294"></a>00294         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00295"></a>00295         mysql_close();
<a name="l00296"></a>00296         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00297"></a>00297             echo mysql_error();
<a name="l00298"></a>00298             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00299"></a>00299         }
<a name="l00300"></a>00300         <span class="comment">//Query was successful.</span>
<a name="l00301"></a>00301         <span class="keywordflow">return</span> <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>;
<a name="l00302"></a>00302     }
<a name="l00303"></a>00303 
<a name="l00312"></a><a class="code" href="classdb_student.html#a389409c5c52d38d325ac86a45a4ecf7c">00312</a>     <span class="keyword">static</span> <span class="keyword">function</span> <a class="code" href="classdb_student.html#a389409c5c52d38d325ac86a45a4ecf7c">addStudent</a>($s, &amp;$id) {
<a name="l00313"></a>00313 
<a name="l00314"></a>00314         <span class="keywordflow">if</span> (!($s instanceof <a class="code" href="class_student.html">Student</a>)) {
<a name="l00315"></a>00315             echo (<span class="stringliteral">&quot;Invalid argument addStudent() function&lt;br /&gt;&quot;</span>);
<a name="l00316"></a>00316             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00317"></a>00317         }
<a name="l00318"></a>00318 
<a name="l00319"></a>00319         <span class="comment">//Compose the ADD query string. Primary key value is missing.</span>
<a name="l00320"></a>00320         <span class="comment">//Database server automatically generates a unique ID for the primary</span>
<a name="l00321"></a>00321         <span class="comment">//key.</span>
<a name="l00322"></a>00322         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = sprintf(<span class="stringliteral">&quot;INSERT INTO student VALUES (null, &#39;%s&#39;, &#39;%s&#39;, &#39;%s&#39;, %f,</span>
<a name="l00323"></a>00323 <span class="stringliteral">            &#39;%s&#39;, &#39;%s&#39;, &#39;%s&#39;, &#39;%s&#39;)&quot;</span>,
<a name="l00324"></a>00324                         $s-&gt;getFname(),
<a name="l00325"></a>00325                         $s-&gt;getLname(),
<a name="l00326"></a>00326                         $s-&gt;getUsername(),
<a name="l00327"></a>00327                         $s-&gt;getCurrentGPA(),
<a name="l00328"></a>00328                         $s-&gt;getMajor(),
<a name="l00329"></a>00329                         $s-&gt;getYearStatus(),
<a name="l00330"></a>00330                         $s-&gt;getGraduationYear(),
<a name="l00331"></a>00331                         $s-&gt;getGotHired()
<a name="l00332"></a>00332         );
<a name="l00333"></a>00333         printf(<span class="stringliteral">&quot;-&gt;Query: %s&lt;br /&gt;&quot;</span>, <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00334"></a>00334         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00335"></a>00335         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);        
<a name="l00336"></a>00336         mysql_close();
<a name="l00337"></a>00337         $id = mysql_insert_id();
<a name="l00338"></a>00338         printf(<span class="stringliteral">&quot;-&gt;StudentID: %d&lt;br /&gt;&quot;</span>, $id);
<a name="l00339"></a>00339         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00340"></a>00340             echo mysql_error( );
<a name="l00341"></a>00341             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00342"></a>00342         }
<a name="l00343"></a>00343         <span class="comment">//Query was successful.</span>
<a name="l00344"></a>00344         <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00345"></a>00345     }
<a name="l00346"></a>00346 
<a name="l00354"></a><a class="code" href="classdb_student.html#a1afa2e6785543ce04e6c8260955e3005">00354</a>     <span class="keyword">function</span> <a class="code" href="classdb_student.html#a1afa2e6785543ce04e6c8260955e3005">getStudent</a>($studentID) {
<a name="l00355"></a>00355         <span class="keywordflow">if</span> (!$s instanceof <a class="code" href="class_student.html">Student</a>) {
<a name="l00356"></a>00356             echo (<span class="stringliteral">&quot;Invalid argument getStudent($s) function&lt;br /&gt;&quot;</span>);
<a name="l00357"></a>00357             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00358"></a>00358         }
<a name="l00359"></a>00359         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<span class="stringliteral">&quot;SELECT * FROM student WHERE studentID=</span>
<a name="l00360"></a>00360 <span class="stringliteral">                $studentID&quot;</span>);
<a name="l00361"></a>00361         <span class="keywordflow">if</span> (!<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>) {
<a name="l00362"></a>00362             <span class="keywordflow">return</span> <span class="keyword">false</span>; <span class="comment">//studentID does not exist</span>
<a name="l00363"></a>00363         } <span class="keywordflow">else</span> {
<a name="l00364"></a>00364             $row = mysql_fetch_assoc(<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>);
<a name="l00365"></a>00365             $s = <span class="keyword">new</span> Student();
<a name="l00366"></a>00366             $s-&gt;setStudentID($studentID);
<a name="l00367"></a>00367             $s-&gt;setFName($row[<span class="stringliteral">&#39;fname&#39;</span>]);
<a name="l00368"></a>00368             $s-&gt;setLName($row[<span class="stringliteral">&#39;lname&#39;</span>]);
<a name="l00369"></a>00369             $s-&gt;setUsername($row[<span class="stringliteral">&#39;username&#39;</span>]);
<a name="l00370"></a>00370             $s-&gt;setCurrentGPA($row[<span class="stringliteral">&#39;currentGPA&#39;</span>]);
<a name="l00371"></a>00371             $s-&gt;setMajor($row[<span class="stringliteral">&#39;major&#39;</span>]);
<a name="l00372"></a>00372             $s-&gt;setYearStatus($row[<span class="stringliteral">&#39;yearStatus&#39;</span>]);
<a name="l00373"></a>00373             $s-&gt;setGraduationYear($row[<span class="stringliteral">&#39;graduationYear&#39;</span>]);
<a name="l00374"></a>00374             $s-&gt;setGotHired($row[<span class="stringliteral">&#39;gotHired&#39;</span>]);
<a name="l00375"></a>00375             <span class="keywordflow">return</span> $s;
<a name="l00376"></a>00376         }
<a name="l00377"></a>00377     }
<a name="l00378"></a>00378 
<a name="l00386"></a><a class="code" href="classdb_student.html#aaaca33ac319178544c7cc9df0d9f1578">00386</a>     <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">function</span> <a class="code" href="classdb_student.html#aaaca33ac319178544c7cc9df0d9f1578">getAllByID</a>($id, &amp;$output) {
<a name="l00387"></a>00387         <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a> = sprintf(<span class="stringliteral">&quot;SELECT fname, lname, username,</span>
<a name="l00388"></a>00388 <span class="stringliteral">            currentGPA, major, yearStatus, graduationYear, gotHired</span>
<a name="l00389"></a>00389 <span class="stringliteral">            FROM student WHERE studentID=%d&quot;</span>, $id);
<a name="l00390"></a>00390         printf(<span class="stringliteral">&quot;-&gt;Query: %s&lt;br /&gt;&quot;</span>, <a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00391"></a>00391         <a class="code" href="db-control_2inc_2functions_8php.html#aca07cf60afd49a5a5b583459f5423045">connectToDatabase</a>();
<a name="l00392"></a>00392         <a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> = mysql_query(<a class="code" href="internship__list__dateadded_8php.html#af59a5f7cd609e592c41dc3643efd3c98">$query</a>);
<a name="l00393"></a>00393         mysql_close();
<a name="l00394"></a>00394 
<a name="l00395"></a>00395         <span class="keywordflow">if</span> (<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a> == <span class="keyword">false</span>) {
<a name="l00396"></a>00396             $output = sprintf(<span class="stringliteral">&quot;%s&quot;</span>, mysql_error());
<a name="l00397"></a>00397             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00398"></a>00398         }
<a name="l00399"></a>00399         <span class="comment">//process result and print out warning or attribute values</span>
<a name="l00400"></a>00400         <span class="keywordflow">return</span> dbStudent::checkForOneInstance(<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>, $id, $output);
<a name="l00401"></a>00401     }
<a name="l00402"></a>00402 
<a name="l00403"></a>00403     <span class="keyword">private</span> <span class="keyword">static</span> <span class="keyword">function</span> checkForOneInstance(<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>, $id, &amp;$output) {
<a name="l00404"></a>00404         <span class="comment">//Local variables are initialized.</span>
<a name="l00405"></a>00405         $errorStatus = <span class="keyword">false</span>;
<a name="l00406"></a>00406 
<a name="l00407"></a>00407         $howMany = mysql_num_rows(<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>);
<a name="l00408"></a>00408         <span class="comment">//printf(&quot;-&gt;Found %d instance(s) for studentID=%d.&lt;br /&gt;&quot;, $howMany, $id);</span>
<a name="l00409"></a>00409         <span class="keywordflow">switch</span> ($howMany) {
<a name="l00410"></a>00410             <span class="keywordflow">case</span> 0:
<a name="l00411"></a>00411                 $output = sprintf(<span class="stringliteral">&quot;No Student instance with ID=%d was found.&quot;</span>,
<a name="l00412"></a>00412                                 $id);
<a name="l00413"></a>00413                 $errorStatus = <span class="keyword">true</span>;
<a name="l00414"></a>00414                 <span class="keywordflow">break</span>;
<a name="l00415"></a>00415             <span class="keywordflow">case</span> 1:
<a name="l00416"></a>00416                 <span class="comment">//mysql_fetch() DOES NOT return primary key values</span>
<a name="l00417"></a>00417                 $output = mysql_fetch_assoc(<a class="code" href="admin_2internship__list_8php.html#a112ef069ddc0454086e3d1e6d8d55d07">$result</a>);
<a name="l00418"></a>00418                 $errorStatus = <span class="keyword">false</span>;
<a name="l00419"></a>00419                 <span class="keywordflow">break</span>;
<a name="l00420"></a>00420             <span class="keywordflow">default</span>:
<a name="l00421"></a>00421                 $output = sprintf(<span class="stringliteral">&quot;There are multiple Student instances with</span>
<a name="l00422"></a>00422 <span class="stringliteral">                                  ID=%d.&quot;</span>, $id);
<a name="l00423"></a>00423                 $errorStatus = <span class="keyword">true</span>;
<a name="l00424"></a>00424                 <span class="keywordflow">break</span>;
<a name="l00425"></a>00425         }
<a name="l00426"></a>00426         <span class="keywordflow">return</span> $errorStatus;
<a name="l00427"></a>00427     }
<a name="l00428"></a>00428 
<a name="l00429"></a>00429 }
<a name="l00430"></a>00430 
<a name="l00431"></a>00431 ?&gt;
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 18:18:54 for i2c by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
